"""
Made by Wang Shiheng
CopyRight(C) From WangShiheng
All copyright(C) reserved
"""


# Author: WangShiheng
# Create Time:2022/06/05
# Package:


def ls(l: list, sep: int):
    x = l[sep + 1:]
    y = l[:sep + 1]
    return x + y


def lst(l: list, start: int = 0, sep: int = 0):
    x = l[:start]
    y = l[start:]
    y = ls(y, sep - start)
    return x + y


if __name__ == '__main__':
    print(lst([x for x in range(2, 50)], 20, 32))
